<?php
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');

$subpanel_layout = array(
	'top_buttons' => array(
       array('widget_class' => 'SubPanelTopCreateButton'),
	   array('widget_class' => 'SubPanelTopSelectButton', 'popup_module' => 'Tasks'),
	),

	'where' => '',

	'list_fields' => array(
		'name'=>array(
			'name' => 'name',
			'vname' => 'LBL_SUBPANEL_NAME',
			'widget_class' => 'SubPanelDetailViewLink',
		   ),
		'status' => array(
			'name' => 'status',
			'vname' => 'LBL_STATUS',
		),
		'date_start' => array (
			'name' => 'date_start',
			'vname' => 'LBL_START_DATE',
		),
		'date_due' => array (
			'name' => 'date_due',
			'vname' => 'LBL_DUE_DATE',
		),
		'completed_date' => array(
			'name' => 'completed_date',
			'vname' => 'LBL_COMPLETED_DATE',
		),
		'assigned_user_name' => array(
			'name'=>'assigned_user_name',
			'vname'=>'LBL_LIST_ASSIGNED_TO_NAME',
		),
		'edit_button'=>array(
			'vname' => 'LBL_EDIT_BUTTON',
			'widget_class' => 'SubPanelEditButton',
		 	'module' => 'Tasks',
		),
	),
);

?>
